package com.ykq.docter.controller;

import com.ykq.core.vo.R;
import com.ykq.docter.service.SchedulingService;
import com.ykq.docter.vo.SchedulingVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.util.List;
import java.util.Map;

/**
 * @Author: 闫克起
 * @Description:
 * @Date: Create in 14:51 2024/8/21
 */
@RestController
@RequestMapping("/docter/scheduling")
public class SchedulingController {
    @Autowired
    private SchedulingService schedulingService;
    //所有医生值班信息
    @PostMapping("/list")
    public R<Map<String,Object>> list(@RequestBody SchedulingVo schedulingVo){
        return schedulingService.selectScheduling(schedulingVo);
    }
}
